.wrapper {
  width: 70%;
}

.wrapper header {
  font-size: 3rem;
  font-weight: 600;
  text-align: left;
}

.wrapper .inputField {
  margin: 20px 0;
  width: 100%;
  display: flex;
  height: 45px;
}

.inputField input {
  width: 80%;
  outline: none;
  border: 1px solid #ccc;
  font-size: 2rem;
  border-radius: 3px;
  margin-left: 1%;
  padding: 40px;
}

.inputField button {
  width: 20%;
  height: 180%;
  border: none;
  color: #fff;
  margin-left: 5px;
  font-size: 36px;
  outline: none;
  background: var(--t-color);
  cursor: pointer;
  border-radius: 0px;
  opacity: 1;
  pointer-events: none;
  transition: all 0.3s ease;
}

.inputField button.active {
  opacity: 1;
  pointer-events: auto;
}

.wrapper .todo-container {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px 0;
}

.todoList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.todoList li {
  background: #f2f2f2;
  margin: 8px 0;
  padding: 15px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideIn 0.3s ease-out forwards;
  transform-origin: top;
  opacity: 0;
}

@keyframes slideIn {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.add-button {
  background: var(--t-color);
  border: none;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.add-button:hover {
  opacity: 0.8;
}

.clear-all {
  background: var(--t-color);
  border: none;
  color: white;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.clear-all:hover {
  opacity: 0.8;
}

.wrapper .footer {
  display: block;
  width: 100%;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
}
.footer button {
  padding: 23px 10px;
  border-radius: 3px;
  border: none;
  outline: none;
  color: #fff;
  font-weight: 400;
  font-size: 49px;
  /* margin-left: 5px; */
  background: var(--t-color);
  cursor: pointer;
  opacity: 1;
  pointer-events: none;
}

.footer button.active {
  opacity: 1;
  pointer-events: auto;
}

.new-task {
  animation: slideDown 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(-20px);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 
<div class="wrapper">
            <header>Ma Liste de Tâches</header>
            <div class="inputField">
                <input type="text" placeholder="Ajouter une nouvelle tâche">
                <button><i class="fas fa-plus"></i></button>
            </div>
            <ul class="todoList"></ul>
            <div class="footer">
                <span>Vous avez <span class="pendingTasks"></span> tâches en attente</span>
                <button>Tout Effacer</button>
            </div>
        </div> */